<?php
    session_start();
    include 'connectDB.php';
	
	$strSQL = "DELETE  FROM tbl_merchant WHERE mer_id = '".$_GET[MerID]."' ";
	$objQuery = mysql_query($strSQL);
	if($objQuery){
		echo "delete complete !";
		echo '<meta HTTP-EQUIV="REFRESH" content="2; url=http://127.0.0.1/23machine/23machine/merchant_ajax.php">';
	}else{
		echo "Error! delete not complete.";	
		echo '<meta HTTP-EQUIV="REFRESH" content="2; url=http://127.0.0.1/23machine/23machine/merchant_ajax.php">';
	}

	mysql_close();
?>